import urlparse  
url = urlparse.urlparse('https://192.168.1.225:19081/appserver-restful/requestMessage')  
print(url) 